package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class MenuApi implements Serializable {
    private Integer id;

    /**
     * 菜单id
     *
     * @mbg.generated
     */
    private Integer menuId;

    /**
     * 接口编码
     *
     * @mbg.generated
     */
    private String code;

    /**
     * 接口
     *
     * @mbg.generated
     */
    private String api;

    /**
     * 接口名称
     *
     * @mbg.generated
     */
    private String apiName;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getApi() {
        return api;
    }

    public void setApi(String api) {
        this.api = api;
    }

    public String getApiName() {
        return apiName;
    }

    public void setApiName(String apiName) {
        this.apiName = apiName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", menuId=").append(menuId);
        sb.append(", code=").append(code);
        sb.append(", api=").append(api);
        sb.append(", apiName=").append(apiName);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}